home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / bbsutil / ghost230.zip / SAMPLE.CFG < prev    next >
Text File  |  1990-11-01  |  37KB  |  929 lines

  1. % +-------------------------------------------------------------------------+
  2. % |                        configuration file for Ghostwriter 2.2 and newer |
  3. % +-------------------------------------------------------------------------+
  4. %
  5. %   This file will be processed sequentially. Lines with ; or % in column 1
  6. %   are treated as comment lines. Everything following the ; or % character
  7. %   also is treated as comment and ignored.
  8. %
  9. %   Without exception all keywords and user names are case insensitive.
  10. %   User names always will be converted to "Firstname Lastname", no matter
  11. %   if "firstname lastname", "FIRSTNAME LASTNAME", "fIRSTNAME LASTname"
  12. %   or any other combination was entered.
  13. %   Message text lines will always be used as found in this file.
  14. %
  15. %   Path names need not to end with a backslash \ character.
  16. %   If a drive specification in a path name is missing
  17. %   the currently logged drive will be used by default.
  18. %
  19. %   DOS environment variables may be used in any configuration or
  20. %   message text line of this file. Use this %method% to write strings
  21. %   which should be taken from the DOS environment. If the variable
  22. %   %junk% is not set, %junk% will be kept without changes.
  23. %
  24. %   To include for example the strings %temp% or $year in the message text
  25. %   use %%temp% and $$year. This makes %%temp% appear as %temp% and $$year
  26. %   appear as $year.
  27. %
  28. %   To use the string %Subject% as tag line/message subject
  29. %   take care to write %Subject% *not* starting at column 1
  30. %   in this file.
  31. %
  32. %   Currently there are five "built-in" tags which may not be used
  33. %   as tags in this configuration file:
  34. %
  35. %   Hello!  is used to do a check if all required parameters
  36. %           are found and identified correctly by the program.
  37. %           This only can be done if Binkley.Cfg, Fd.Sys or
  38. %           Config.Ra is in the same subdirectory as Ghost.Exe
  39. %           or can be located by the BINKLEY, FD or RA environment
  40. %           variables respectively.
  41. %
  42. %   History creates a detailed overview for the outbound and inbound
  43. %           mail history. This tag is available *only* in FrontDoor
  44. %           environments; make sure Inbound.His and Outbound.His
  45. %           are located in FrontDoor's "system" directory.
  46. %
  47. %   Report  is used to do a check for new echomail messages
  48. %           addressed to the sysop. A table containing the
  49. %           numbers and names of the installed echomail boards,
  50. %           eventually unreceived messages and the total number
  51. %           of messages in each board will be sent as message
  52. %           to the sysop in the netmail folder.
  53. %           If "-dFilename.Ext" or "-dDevice" is included on
  54. %           the command line this table will be written to
  55. %           "Filename.Ext" or sent to "Device" instead of
  56. %           being written to a netmail message.
  57. %
  58. %           CAUTION: This is only available in a QuickBBS
  59. %                    echomail message base environment.
  60. %                    Also a TosScan-like Areas.Bbs file
  61. %                    must be present in the same subdirectory
  62. %                    as the other Msg*.Bbs QuickBBS files.
  63. %                    This Areas.Bbs file is not required in
  64. %                    FrontDoor environments; the data will
  65. %                    be taken from Folder.Sys in FrontDoor's
  66. %                    system directory.
  67. %
  68. %   Server  is used to invoke the server function: the netmail
  69. %           directory will be scanned for messages addressed to
  70. %           the user name given on the "#define serveruser"
  71. %           matching the "Subject:" field with the password
  72. %           given on "#define serverpassword".
  73. %           If messages to this user are found they will be
  74. %           saved as batch files and executed immediately.
  75. %
  76. %   Trigger invokes the "trigger" function: the netmail directory
  77. %           is searched for messages which "Subject:" fields match
  78. %           the subject for trigger items (see below: #define trigger).
  79. %           If any match is found the DOS command on the "command"
  80. %           line for the matching trigger "subject" will be executed.
  81. %           Afterwards the "received" flag for this message is set.
  82. %
  83. % +-------------------------------------------------------------------------+
  84. % |                                   first: miscellaneous general settings |
  85. % +-------------------------------------------------------------------------+
  86.   #define serveruser     Home Server       % user name for server requests  |
  87.   #define serverpassword Gitanes           % password for server requests   |
  88. % #define messagebase    Fido              % use QBBS for QuickBBS echomail |
  89. % #define messagebase    QBBS              % use Fido for *.MSG echomail    |
  90. % #define QBBSpath       c:\binkley        % use *only* with BinkleyTerm    |
  91. % #define magicoffset    2                 % overrides processday Friday    |
  92. % #define packer         zip               % for the "Z" instead of "A"     |
  93.   #define statuslog      C:\Fd\Fd.Log      % second log file option         |
  94. % #define forcedINTL                       % force ^aINTL kludge in netmail |
  95. % #define zonegate                         % no Opus like zone remapping    |
  96.   #define endtag         #end              % optional end-of-tag mark       |
  97. %                                                                           |
  98. %                          If "#define endtag <endstring>" is enabled       |
  99. %                          the first occurance of <endstring>               |
  100. %                          in the message text is interpreted               |
  101. %                          as end-of-text mark.                             |
  102. %                                                                           |
  103. %                          The next 19 non-comment lines will be treated    |
  104. %                          as the names for the seven days of the week      |
  105. %                          and the names for the twelve months of the year. |
  106. %                                                                           |
  107. %                          These strings affect the appearance of the       |
  108. %                          $dname, $mname and $bouncedate variables         |
  109. %                          if used in the message text.                     |
  110. %                                                                           |
  111. % #define country          % uses the next 19 non-comment lines             |
  112. % --------------------------------------------------------------------------+
  113. %
  114. % Sonntag
  115. % Montag
  116. % Dienstag
  117. % Mittwoch
  118. % Donnerstag
  119. % Freitag
  120. % Samstag
  121. %
  122. % Januar
  123. % Februar
  124. % März
  125. % April
  126. % Mai
  127. % Juni
  128. % Juli
  129. % August
  130. % September
  131. % Oktober
  132. % November
  133. % Dezember
  134. %
  135. % +-------------------------------------------------------------------------+
  136. % |                                               now the "trigger" section |
  137. % +-------------------------------------------------------------------------+
  138. %
  139. %       The format for this section:
  140. %
  141. %       #define trigger <-- indicates "start of trigger section" *REQUIRED*
  142. %
  143. %       subject <message subject>
  144. %               This is the subject which must match with a non-received
  145. %               message in the netmail directory.
  146. %
  147. %       from    [firstname lastname]
  148. %               "Firstname lastname" is optional. However, a "from"
  149. %               line must be the next non-comment line after "subject".
  150. %               If "firstname lastname" are not empty strings
  151. %               <message subject> and <firstname lastname> must match
  152. %               to invoke the <DOS command>.
  153. %               Otherwise only <message subject> must match.
  154. %
  155. %       command <DOS command>
  156. %               Any valid DOS command or batch file name.
  157. %               Use "first command;next command;next command;...;"
  158. %               to execute more than one DOS command or batch file.
  159. %               The last character of a multiple command line
  160. %               *must* be a semicolon.
  161. %
  162. %       ... [more "subject", "from" and "command" lines] ...
  163. %
  164. %       #end